<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../../assets/img/favicon-144.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../../assets/img/favicon-144.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../../assets/img/favicon-72.png">
<link rel="apple-touch-icon-precomposed" href="../../assets/img/favicon-32.png">
<link rel="shortcut icon" href="../../assets/img/favicon-32.png">

<link rel="stylesheet" href="../../assets/css/vk.css"/>
<link rel="stylesheet" href="../../assets/css/prism.css"/>


<vk-title>VkGeometryInstanceFlagBitsNV | NVK</vk-title>

<vk-centered>

  <vk-navigation>
  <vk-search-title>Search</vk-search-title>
  <vk-search>
    <input type="text" id="search" autocomplete="off" />
    <vk-search-results>
      <ol id="search-list">
        <li id="no-search-results">No Results</li>
      </ol>
    </vk-search-results>
  </vk-search>
  <vk-section-title style="margin-top: 1em;">Categories</vk-section-title>
  <vk-categories></vk-categories>
</vk-navigation>


  <vk-struct>

    <vk-name>VkGeometryInstanceFlagBitsNV</vk-name>

    <vk-description>Instance flag bits</vk-description>

    <vk-section-title>Stub</vk-section-title>
    <vk-stub>
      <pre><code class="language-js">VkGeometryInstanceFlagBitsNV = {
  VK_GEOMETRY_INSTANCE_TRIANGLE_CULL_DISABLE_BIT_NV: 0x1,
  VK_GEOMETRY_INSTANCE_TRIANGLE_FRONT_COUNTERCLOCKWISE_BIT_NV: 0x2,
  VK_GEOMETRY_INSTANCE_FORCE_OPAQUE_BIT_NV: 0x4,
  VK_GEOMETRY_INSTANCE_FORCE_NO_OPAQUE_BIT_NV: 0x8
};</code></pre>
    </vk-stub>

    <vk-section-title>Properties</vk-section-title>

    <vk-properties>
      <vk-property-entry>
        <vk-property-prototype>VkGeometryInstanceFlagBitsNV.<vk-prototype-name>VK_GEOMETRY_INSTANCE_TRIANGLE_CULL_DISABLE_BIT_NV</vk-prototype-name></vk-property-prototype>
        <vk-property-description> disables face culling for this instance.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkGeometryInstanceFlagBitsNV.<vk-prototype-name>VK_GEOMETRY_INSTANCE_TRIANGLE_FRONT_COUNTERCLOCKWISE_BIT_NV</vk-prototype-name></vk-property-prototype>
        <vk-property-description> indicates that the front face of the triangle for culling purposes is the face that is counter clockwise in object space relative to the ray origin. Because the facing is determined in object space, an instance transform matrix does not change the winding, but a geometry transform does.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkGeometryInstanceFlagBitsNV.<vk-prototype-name>VK_GEOMETRY_INSTANCE_FORCE_OPAQUE_BIT_NV</vk-prototype-name></vk-property-prototype>
        <vk-property-description> causes this instance to act as though <b>VK_GEOMETRY_OPAQUE_BIT_NV</b> were specified on all geometries referenced by this instance. This behavior <i>can</i> be overridden by the ray flag <i>gl_RayFlagsNoOpaqueNV</i>.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkGeometryInstanceFlagBitsNV.<vk-prototype-name>VK_GEOMETRY_INSTANCE_FORCE_NO_OPAQUE_BIT_NV</vk-prototype-name></vk-property-prototype>
        <vk-property-description> causes this instance to act as though <b>VK_GEOMETRY_OPAQUE_BIT_NV</b> were not specified on all geometries referenced by this instance. This behavior <i>can</i> be overridden by the ray flag <i>gl_RayFlagsOpaqueNV</i>.</vk-property-description>
      </vk-property-entry>
      
    </vk-properties>

  </vk-struct>

</vk-centered>

<script>
const IS_ROOT = false;
</script>

<script type="text/javascript" src="../../assets/js/prism.min.js"></script>
<script type="text/javascript" src="../../assets/js/index.js"></script>
